package com.rew.canteenbox.http;

/**
 *  Api Here.
 *
 * Created by HuiWen Ren on 2016/12/21.
 */
public class Api {

    /**
     *  虚拟机访问localhost应用地址：10.0.2.2
     */
    private static String HTTP_LOCATION = "http://10.0.2.2:8080/canteenchefs";

    /**
     * ESTU | User_detail | add: card_id | example: HTTP_LOCATION/mobile/select/user/123456
     */
    public static final String URL_ESTU_USER_DETAIL = HTTP_LOCATION + "/mobile/select/user/";
    /**
     * ESTU | User_update | add: model_user
     */
    public static final String URL_ESTU_USER_UPDATE = HTTP_LOCATION + "/mobile/select/user/";
    /**
     * ESTU | User_detail | add: dish_name | example: HTTP_LOCATION/mobile/select/dish/bread
     */
    public static final String URL_ESTU_DISH_DETAIL = HTTP_LOCATION + "/mobile/select/dish/";

    /**
     * 注：暂时不引入EBAC_API——mobile端不适用.
     */

    /**
     *  判断是否正常连接.
     */
    public static final String URL_CONNECT_TEST = HTTP_LOCATION + "/mobile/test/connect/1";

}
